import requests


def request(*args, **kwargs):
    """调用外部请求"""
    return requests.request(*args, **kwargs)


if __name__ == '__main__':
    resp = request(url='http://www.baidu.com', method='GET')
    print(resp.status_code)
